package com.cloudkinto.extentity.order;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class OperateRecordAddDto {

    private Long id;

    /**
     * 对应表的主键
     */
    private Long thirdId;

    private String orderNo;

    /**
     * 操作内容
     */
    private String content;

    /**
     * 需要 替换的内容 !& 隔开
     */
    private String contentValue;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 1：商品 2：入库单 3：出库单 4：亚马逊订单 5：乐天订单
     */
    private Integer type;

    /**
     * 操作时间
     */
    private Date operateTime;

    /**
     * 操作人员id
     */
    private Long operateBy;

    /**
     * 逻辑删除
     */
    private Integer deleteFlag;

    public OperateRecordAddDto(String orderNo, String content, String contentValue, String remarks, Integer type, Date operateTime, Long operateBy) {
        this.orderNo = orderNo;
        this.content = content;
        this.contentValue = contentValue;
        this.remarks = remarks;
        this.type = type;
        this.operateTime = operateTime;
        this.operateBy = operateBy;
    }
}
